package com.speech.entity;

import android.os.Parcel;
import android.os.Parcelable;

public class MyProperty implements Parcelable {
    /**
     * uid : 1771843265985911080
     * total_property_value : 5000
     * reading_property_value : 0
     * spread_property_lv1 : 0
     * spread_property_lv2 : 0
     * checkin_property_value : 0
     * mission_property_value : 0
     * reward_property_value : 0
     */

    private String uid;
    private int total_property_value;
    private int reading_property_value;
    private int spread_property_lv1;
    private int spread_property_lv2;
    private int checkin_property_value;
    private int mission_property_value;
    private int reward_property_value;

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public int getTotal_property_value() {
        return total_property_value;
    }

    public void setTotal_property_value(int total_property_value) {
        this.total_property_value = total_property_value;
    }

    public int getReading_property_value() {
        return reading_property_value;
    }

    public void setReading_property_value(int reading_property_value) {
        this.reading_property_value = reading_property_value;
    }

    public int getSpread_property_lv1() {
        return spread_property_lv1;
    }

    public void setSpread_property_lv1(int spread_property_lv1) {
        this.spread_property_lv1 = spread_property_lv1;
    }

    public int getSpread_property_lv2() {
        return spread_property_lv2;
    }

    public void setSpread_property_lv2(int spread_property_lv2) {
        this.spread_property_lv2 = spread_property_lv2;
    }

    public int getCheckin_property_value() {
        return checkin_property_value;
    }

    public void setCheckin_property_value(int checkin_property_value) {
        this.checkin_property_value = checkin_property_value;
    }

    public int getMission_property_value() {
        return mission_property_value;
    }

    public void setMission_property_value(int mission_property_value) {
        this.mission_property_value = mission_property_value;
    }

    public int getReward_property_value() {
        return reward_property_value;
    }

    public void setReward_property_value(int reward_property_value) {
        this.reward_property_value = reward_property_value;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.uid);
        dest.writeInt(this.total_property_value);
        dest.writeInt(this.reading_property_value);
        dest.writeInt(this.spread_property_lv1);
        dest.writeInt(this.spread_property_lv2);
        dest.writeInt(this.checkin_property_value);
        dest.writeInt(this.mission_property_value);
        dest.writeInt(this.reward_property_value);
    }

    public MyProperty() {
    }

    protected MyProperty(Parcel in) {
        this.uid = in.readString();
        this.total_property_value = in.readInt();
        this.reading_property_value = in.readInt();
        this.spread_property_lv1 = in.readInt();
        this.spread_property_lv2 = in.readInt();
        this.checkin_property_value = in.readInt();
        this.mission_property_value = in.readInt();
        this.reward_property_value = in.readInt();
    }

    public static final Parcelable.Creator<MyProperty> CREATOR = new Parcelable.Creator<MyProperty>() {
        @Override
        public MyProperty createFromParcel(Parcel source) {
            return new MyProperty(source);
        }

        @Override
        public MyProperty[] newArray(int size) {
            return new MyProperty[size];
        }
    };
}
